<div class="oa-curtain-header">
    <span class="oa-curtain-title">
        {{if toDoType == 'toMe'}}
            <span>{{'TASK_CURTAIN_TO_DO_1' | i18n}}</span>
        {{else if toDoType == 'toOther'}}
            <span>{{'TASK_CURTAIN_TO_DO_2' | i18n}}</span>
        {{else if toDoType == 'beRejected'}}
            <span>{{'TASK_CURTAIN_TO_DO_3' | i18n}}</span>
        {{/if}}
    </span>
    <a act="closeTaskCurtain" class="oa-curtain-close" href="javascript:;">{{'TASK_CURTAIN_ASSIGN_FINISHED_2' | i18n}}</a>
</div>
<div class="oa-curtain-body oa-curtain-body-auto">
    <div class="oa-tab-body">
        <div class="oa-listview-contents">
            <div class="oa-list my-daily-paper report-list-area daily-paper-list clear">
                {{each tasks as task i}}
                <div class="show-content clear" _taskId="{{task.id}}">
                    <div class="right-content">
                        <div class="show-info apply-show-info clear">
                            <span>{{task.name}}</span>
                        </div>
                        <div class="show-tool show-info">
                            <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                            {{if toDoType != 'toMe'}}
                                <span class="user">{{users[task.ownerId].name}}</span>
                            {{/if}}
                            <span class="comment-num">{{task.commentCount}}</span>
                        </div>
                    </div>
                </div>
                {{/each}}
            </div>
        </div>
        <div class="oa-listview-footer"></div>
    </div>
</div>